﻿<Window x:Class="PhotoOrganiserGUI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Photo Organiser" Height="200" Width="525"
        Closing="MainWindow_Closing">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Label Grid.Row="0" Grid.Column="1" Margin="3" VerticalAlignment="Center" FontWeight="Bold">Photo Organiser</Label>
        
        <Label Grid.Row="1" Grid.Column="0" Margin="3" VerticalAlignment="Center" HorizontalAlignment="Right">Input folder:</Label>
        <TextBox Name="InputText"  Grid.Row="1" Grid.Column="1" Margin="3" VerticalAlignment="Center" Height="Auto"></TextBox>
        <Button Name="BrowseInputButton"  Grid.Row="1" Grid.Column="2" Margin="3" Padding="2" Click="BrowseInputButtonClick">Browse</Button>
        
        <Label Grid.Row="2" Grid.Column="0" Margin="3" VerticalAlignment="Center" HorizontalAlignment="Right">Output folder:</Label>
        <TextBox Name="OutputText" Grid.Row="2" Grid.Column="1" Margin="3" VerticalAlignment="Center" Height="Auto"></TextBox>
        <Button Name="BrowseOutputButton" Grid.Row="2" Grid.Column="2" Margin="3" Padding="2" Click="BrowseOutputButtonClick">Browse</Button>
        
        <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" Margin="3">
            <Label>Recursive:</Label>
            <CheckBox Name="RecursiveCheckBox" Margin="3" VerticalAlignment="Center" IsChecked="True"></CheckBox>
        </StackPanel>
        
        <Button Name="OrganiseButton" Grid.Row="3" Grid.Column="2" Margin="3" Padding="2" Click="OrganiseButton_Click">Organise</Button>
        
        <StatusBar Name="SBar" Grid.Row="4" Grid.ColumnSpan="3">
            <StatusBarItem>
                <TextBlock>Status:</TextBlock>
            </StatusBarItem>
            <StatusBarItem>
                <ProgressBar Name="PBar" Height="18" Width="200" IsIndeterminate="False"></ProgressBar>
            </StatusBarItem>
        </StatusBar>
    </Grid>
</Window>
